package com.yq.model.bo;

public class ChangeOrderBO {

    /**
     * num : 2
     * id : 1998
     * state : 1
     * spec : 1248
     */
    private Integer num;
    private Integer id;
    private Integer state;
    private Integer spec;
    private String stateInfo;

    public String getStateInfo() {
        return stateInfo;
    }

    public void setStateInfo(String stateInfo) {
        this.stateInfo = stateInfo;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
//        if(state==0){
//            setStateInfo("未付款");
//        }else if (state==1){
//            setStateInfo("未发货");
//        }else if (state==2){
//            setStateInfo("已发货");
//        }else if (state==3){
//            setStateInfo("已到货");
//        }
    }

    public Integer getSpec() {
        return spec;
    }

    public void setSpec(Integer spec) {
        this.spec = spec;
    }
}
